﻿<%@page import="java.util.Iterator"%>
<%@page import="br.com.fatecpg.babelchat.Chat"%>
<%@page import="java.util.HashMap"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<fmt:setLocale scope="session" value="${param['language']}" />
<html class="wf-proximanova1proximanova2-n1-active wf-active" lang="en"><head><script src="about_arquivos/ga.js" async="" type="text/javascript"></script><script src="about_arquivos/rum.js" async="" type="text/javascript"></script><script>var NREUMQ=[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);(function(){var d=document;var e=d.createElement("script");e.type="text/javascript";e.async=true;e.src="https://d1ros97qkrwjf5.cloudfront.net/16/eum/rum.js	";var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(e,s);})()</script>
<meta content="IE=EmulateIE8" http-equiv="X-UA-Compatible">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="eRlbKoymlSPpVUcT7DAy8l_BlH-T89fcVHsd1U4kF5c" name="google-site-verification">
<meta content="LifeChurch.tv is a multi-site church with campuses all across the country as well as a campus that meets entirely on the Internet. The mission of the church is to lead people to become full devoted followers of Christ." name="description">
<meta content="lifechurch.tv, lifechurch, church online, online church, internet church, free church resources, church" name="keywords">
<title>Babel Chat</title>
<link href="about_arquivos/workspace.css" media="screen" rel="stylesheet" type="text/css">
<!--[if IE 7]>
<link href="/stylesheets/ie7.css?1313421292" media="screen" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 8]>
<link href="/stylesheets/ie8.css?1313421292" media="screen" rel="stylesheet" type="text/css" />
<![endif]-->
<link href="http://www.lifechurch.tv/favicon.png" rel="shortcut icon" type="image/x-icon">
<link href="http://www.lifechurch.tv/apple-touch-icon.png" rel="apple-touch-icon">
<link href="http://www.lifechurch.tv/72.png" rel="apple-touch-icon" sizes="72x72">
<link href="http://www.lifechurch.tv/114.png" rel="apple-touch-icon" sizes="114x114">
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="M5vs/CJxkRxt+3IihfY3wRES/FN3aKhGTC3GPNFOYHA=">
<script src="about_arquivos/jlt3cri.js" type="text/javascript"></script>
<style type="text/css">#header h1,.tk-proxima-nova{font-family:proxima-nova-1,proxima-nova-2,sans-serif;}</style><link href="about_arquivos/jlt3cri-d.css" rel="stylesheet"><script>
  //<![CDATA[
    try{Typekit.load();}catch(e){}
  //]]>
</script>
<script>
  //<![CDATA[
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-3571547-5']);
    _gaq.push(['_trackPageview']);
    
    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  //]]>
</script>
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	width:200px;
	height:29px;
	z-index:1;
	left: 42px;
	top: 10px;
}
-->
</style>
  <script type="text/javascript">
            function focusIn(idFocus){
                document.getElementById(idFocus).focus();
            }
            String.prototype.trim = function () {
                return this.replace(/^\s+|\s+$/g,"");
            }
            function sendUserInfo(){
                var language = document.getElementById("idiomaUsuario");
                var name = document.getElementById("nomeUsuario");
                var url = "/babelChat/userconfig?name="+name.value+"&language="+language.value;
                if (window.XMLHttpRequest){
                    req = new XMLHttpRequest();
                }else if (window.ActiveXObject){
                    req = new ActiveXObject("Microsoft.XMLHTTP");
                }
                req.open("Get",url,true);
                req.onreadystatechange = callback;
                req.send(null);
            }
            function callback(){
                 if (req.readyState==4){
                    if (req.status == 200){
                        redirect();
                    }
                }
            }
            function redirect(){
                window.location = "/babelChat/salas.jsp";
            }
        </script>

</head>
<body class="subpage" onLoad="focusIn('nomeUsuario')">
<div id="flash_msg" style="display:none">
<div class="container_12">
<p class="notice"></p>
<p class="alert"></p>
</div>
</div>
<div id="top_bar">
<div class="container_12">
<div class="grid_3"><a href="http://www.lifechurch.tv/"><img alt="Logo" src="about_arquivos/logo.png"></a></div>
<div class="grid_5 prefix_4 make_relative">
<img src="about_arquivos/next_online_experience_in.png" alt="Next_online_experience_in" width="187">
<div id="counter">
<div id="lcm_simlive_countdown">  </div>
<a href="http://live.lifechurch.tv/">
<div style="display: none;" id="counter_overlay"></div>
</a> 
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div id="header_outer">
<div id="header_outer_top"></div>
<div id="header">
<div id="header_inner">
<div class="container_12">
<ul id="nav">
  <li class="current"><a href="index.jsp"><fmt:message key="index.btn_inicio" /></a></li>
                                <li class=""><a href="babel.html"><fmt:message key="index.btn_projeto" /></a></li>
                                <li class=""><a href="contato.html"><fmt:message key="index.btn_contato" /></a></li>
                                <li class=""><a href="tec.html"><fmt:message key="index.btn_tecnologia" /></a></li>
                                <li class=""><a href="agradecimentos.html"><fmt:message key="index.btn_agradecimento" /></a></li>
</ul>
<div class="grid_12">
<h1>Bem-Vindo ao Babel Chat</h1>
<h2></h2>
</div>
<div class="grid_6">
<div class="promo expand_left">
  <div class="welcome_video" id="vid_container" align="center"><img src="imagens/logobabel.png" width="189" height="188"></div>
</div>
</div>
<div class="grid_6">
<h2>Uma nova experiência de conversar com o mundo. Venha experimentar você também!</h2>
<p class="about">How do we go about that? By leading people to become 
fully devoted followers of Christ. That's the driving purpose behind 
everything we do.</p>
</div>
<div class="clear"></div>

<div class="clear"></div>
</div>
</div>
</div>
</div>
<div id="main">
<div class="container_12">
        <center><div class="divIndex"><h2>Preencha suas informações básicas para entrar numa sala de bate papo</h2>
                <input type="text" id="nomeUsuario" />
                <select id="idiomaUsuario">
                    <option value="PORTUGUESE">Português</option>
                    <option value="ENGLISH">Inglês</option>
                    <option value="RUSSIAN">Russo</option>
                    <option value="FRENCH">Francês</option>
                    <option value="JAPANESE">Japonês</option>
                    <option value="ITALIAN">Italiano</option>
                </select>
                <input type="button" value="Escolher Sala" onClick="sendUserInfo()" />
            </div></center>
<div class="grid_9">
<div id="sub_nav">
<ul>
<li class="current"></li>
<li class=""></li>
<li class=""></li>
</ul>
</div>

</div>
<div class="clear"></div>

</div>
</div>
<div id="copyright"></div>
<div id="footer">
<div class="container_12">
<div class="grid_4">
<div id="footer_campus_selector">
<span id="footer_campus_current">
<a href="http://www.lifechurch.tv/locations/int" class="location_link">Fatec Praia Grande</a></span>
<a href="#" id="footer_campus_trigger">
<span class="translation_missing" title="translation missing: en.select_campus">Select Campus</span>
</a>
</div>
</div>
<div class="grid_4 align_right">
<a href="#" id="facebook_menu_trigger">Connect With Our Community</a>
</div>
<div class="grid_4">
<div id="footer_search">
<form action="/search" method="get">
  <div id="apDiv1">Powered By Microsoft</div>
</form>

</div>
</div>
<div class="clear"></div>
</div>
</div>
<div id="campus_menu_tooltip">
<span class="menu_top"></span>
<ul>
<li>View All Locations</li>
</ul>
<span class="menu_bottom"></span>
</div>
<div id="campus_menu">
<span class="menu_top"></span>
<ul>
<li><a href="http://www.lifechurch.tv/locations/alb">Albany NY</a></li>
<li><a href="http://www.lifechurch.tv/locations/edm">Edmond OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/ftw">Fort Worth TX</a></li>
<li><a href="http://www.lifechurch.tv/locations/hnv">Hendersonville TN</a></li>
<li><a href="http://www.lifechurch.tv/locations/mwc">Midwest City OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/noc">NW Oklahoma City OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/okc">Oklahoma City OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/ows">Owasso OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/soc">South Oklahoma City OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/sto">South Tulsa OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/stw">Stillwater OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/tul">Tulsa OK</a></li>
<li><a href="http://www.lifechurch.tv/locations/wel">Wellington FL</a></li>
<li><a href="http://www.lifechurch.tv/locations/ykn">Yukon OK</a></li>
<li class="current"><a href="http://www.lifechurch.tv/locations/int">Church Online</a></li>
</ul>
<span class="menu_bottom"></span>
</div>
<div id="facebook_menu">
<span class="menu_top"></span>
<ul>
<li class="header"><img alt="Facebook Pages" src="about_arquivos/facebook_menu_header.png" width="134" height="30"></li>
<li class="subheader">Main Page</li>
<li><a href="http://facebook.com/lifechurch.tv" class="main">LifeChurch.tv</a></li>
<li class="subheader">Campus Pages</li>
<a href="http://facebook.com/profile.php?id=198238577847" rel="external">Albany Campus</a>
<a href="http://facebook.com/profile.php?id=206643266075" rel="external">Edmond Campus</a>
<a href="http://facebook.com/profile.php?id=236157182628" rel="external">Fort Worth Campus</a>
<a href="http://facebook.com/profile.php?id=121921428281" rel="external">Hendersonville Campus</a>
<a href="http://facebook.com/profile.php?id=141521929249905" rel="external">Midwest City Campus</a>
<a href="http://facebook.com/profile.php?id=156898983627" rel="external">NW Oklahoma City Campus</a>
<a href="http://facebook.com/profile.php?id=284153305483" rel="external">Oklahoma City Campus</a>
<a href="http://facebook.com/profile.php?id=136945189263" rel="external">Owasso Campus</a>
<a href="http://facebook.com/profile.php?id=152357570862" rel="external">South Oklahoma City Campus</a>
<a href="http://facebook.com/profile.php?id=168831606831" rel="external">South Tulsa Campus</a>
<a href="http://facebook.com/profile.php?id=111614742192203" rel="external">Stillwater Campus</a>
<a href="http://facebook.com/profile.php?id=111300269668" rel="external">Tulsa Campus</a>
<a href="http://facebook.com/profile.php?id=105749019464173" rel="external">Wellington Campus</a>
<a href="http://facebook.com/profile.php?id=310515131268" rel="external">Yukon Campus</a>
</ul>
<span class="menu_bottom"></span>
</div>
<script src="about_arquivos/workspace.js" type="text/javascript"></script>
<script src="about_arquivos/console_js.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">NREUMQ.push(["nrf2","beacon-1.newrelic.com","6f338ef193",179309,"ew4IFxNWD1tdSkxDDVc+EQY+WBFSF1kBWxBM",1,275])</script>

<script id="nreum-send-beacon" type="text/x-nreum-data"></script></body></html>